package com.mrjy.common.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

public class MessageInfo extends BaseEntity implements Serializable {
	//标题
    private String title;

    //内容
    private String content; 

    //发送时间
    private Date sendTime;
   
    //发送者ID
    private Integer senderId;

    //用户ID
    private Integer userId;
    
    //读取标识
    private Integer readTag;
    /**
     * 消息类型 ：1:会员开通   2：会员到期   3：语音付费成功   4：课程包开通  5：课程包到期   6:微课购买   7:微课到期
     */
    private Integer msgModule;
    
    //发送者名字
    private String senderName;
    
    private String sendTimeString;
    
    //开始时间（会员，课程包，微课）
    private Timestamp startTime;
    //到期时间（会员，课程包，微课）
    private Timestamp endTime;
    
    private Integer coursePackageType;
    
    private String inviteName;
    private Integer videoId;
    
    //消息类目名称  (如课程包名称, 微课名称, 都封装到这个字段)
    private String costName;
    private Integer costId;
    
    private Integer videoTypeId; //标签id
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getSendTime() {
        return sendTime;
    }

    public void setSendTime(Date sendTime) {
        this.sendTime = sendTime;
    }

    public Integer getSenderId() {
        return senderId;
    }

    public void setSenderId(Integer senderId) {
        this.senderId = senderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    
    public Integer getReadTag() {
		return readTag;
	}

	public void setReadTag(Integer readTag) {
		this.readTag = readTag;
	}
	
	public Integer getMsgModule() {
		return msgModule;
	}

	public void setMsgModule(Integer msgModule) {
		this.msgModule = msgModule;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}
	
	public String getSendTimeString() {
		return sendTimeString;
	}

	public void setSendTimeString(String sendTimeString) {
		this.sendTimeString = sendTimeString;
	}

	public Integer getCoursePackageType() {
		return coursePackageType;
	}

	public void setCoursePackageType(Integer coursePackageType) {
		this.coursePackageType = coursePackageType;
	}

	public String getInviteName() {
		return inviteName;
	}

	public void setInviteName(String inviteName) {
		this.inviteName = inviteName;
	}

	public Integer getVideoId() {
		return videoId;
	}

	public void setVideoId(Integer videoId) {
		this.videoId = videoId;
	}

	public String getCostName() {
		return costName;
	}

	public void setCostName(String costName) {
		this.costName = costName;
	}

	public Integer getCostId() {
		return costId;
	}

	public void setCostId(Integer costId) {
		this.costId = costId;
	}

	public Integer getVideoTypeId() {
		return videoTypeId;
	}

	public void setVideoTypeId(Integer videoTypeId) {
		this.videoTypeId = videoTypeId;
	}

	public Timestamp getEndTime() {
		return endTime;
	}

	public void setEndTime(Timestamp endTime) {
		this.endTime = endTime;
	}

	public Timestamp getStartTime() {
		return startTime;
	}

	public void setStartTime(Timestamp startTime) {
		this.startTime = startTime;
	}
	
}